import os
from django.http import HttpResponse
from axis4.service_monitor.views import ProtectedPageController
from google.appengine.ext.webapp import template
import services

__author__ = 'isd'

class RootController(ProtectedPageController):
    def index(self, request, url, user, *parts):
        path = services.PathUtil.template_path(os.path.dirname(__file__), 'index.html')
        data = {}
        return HttpResponse(template.render(path, data))